package com.smallrig.mall.template.cola;

import com.smallrig.extension.anno.Extension;
import com.smallrig.mall.template.entity.Order;
import com.smallrig.mall.template.state.OrderStatus;
import com.smallrig.mall.template.state.OrderStatusChangeEvent;
import org.springframework.stereotype.Service;

/**
 * 待收货
 */
@Service
public class WaitReceiveState extends AbstractOrderState implements OrderState {


    public void receive(OrderStatus from, OrderStatus to, OrderStatusChangeEvent event, Order order) {
        System.out.println("receive");
    }

}
